#!/bin/sh
memid=`expr ${OMPI_COMM_WORLD_LOCAL_RANK} + 16`
thread=$1
cat main.yaml.bk."$2"mpi  | sed  's/_thread_/'"$thread"'/g' > main.yaml
numactl -m ${memid} ./build/bridge_test_alt  2>&1 | tee bicg_loghbm_thread"$1"_"$2"numa.log

